﻿@*
    For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
*@
@{
}

<div class="layui-fluid">

    <form class="layui-form">
        <div class="layui-form-item">
            <label class="layui-form-label">功能号：</label>
            <div class="layui-input-inline">
                <input type="text" name="funcNo" required="" lay-verify="required" placeholder="请输入功能号" autocomplete="off" class="layui-input" />
            </div>
            <label class="layui-form-label">名称：</label>
            <div class="layui-input-inline">
                <input type="text" name="funcName" required="" lay-verify="required" placeholder="请输入功能号名称" autocomplete="off" class="layui-input" />
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">类型</label>
            <div class="layui-input-inline">
                <select name="funcType" lay-verify="required">
                    <option value="">--请选择--</option>
                    <option value="c">功能号实现类</option>
                    <option value="s">service实现类</option>
                    <option value="m">mapper实现类</option>
                </select>
            </div>
            <label class="layui-form-label">分类</label>
            <div class="layui-input-inline">
                <select name="type" lay-verify="required">
                    <option value="">--请选择--</option>
                    <option value="plat">后台系统</option>
                </select>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">资源内容：</label>
            <div class="layui-input-block">
                <input type="text" name="resource" required="" lay-verify="required" placeholder="请输入资源内容" autocomplete="off" class="layui-input" />
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">版本号：</label>
            <div class="layui-input-inline">
                <input type="text" name="version" placeholder="默认1.0" autocomplete="off" class="layui-input" />
            </div>
            <label class="layui-form-label">状态</label>
            <div class="layui-input-inline">
                <input type="checkbox" name="state" lay-skin="switch" lay-text="启用|关闭" checked="" value="1" />
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">描述：</label>
            <div class="layui-input-block">
                <textarea name="description" placeholder="请输入描述" class="layui-textarea"></textarea>
            </div>
        </div>
        <hr />
        <div class="layui-form-item">
            <div class="layui-input-block">
                <button class="layui-btn" lay-submit="" lay-filter="save" url="/servlet/DEMO1011">新增</button>
                <button type="button" class="layui-btn layui-btn-primary" function="close">关闭</button>
            </div>
        </div>
    </form>

</div>